﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.VersionControl.Client;
using Microsoft.TeamFoundation.Build.Client;

namespace PowerShell.Host.PsTFS.CdmLet.PsObject
{
    public class StructureSC
    {
        public string Name { get; set; }
        public ItemType ItemType { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }

    public class StructureBase
    {
        public string Alias {get;set;}
        public string Element {get;set;}

        public override string ToString()
        {
            return Element;
        }
    }
    public class StructureProject
    {
        public string Name { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }

    public class StructureWorkitem
    {
        public int Id { get; set; }
        public string Type { get; set; }
        public string Title { get; set; }
        public string State { get; set; }
        public string Reason { get; set; }
    }

    public class StructureWorkitemType
    {
        public string Name { get; set; }
    }
    public class StructureBuild
    {
        public BuildStatus Status { get; set; }
        public string Number { get; set; }
        public string Definition { get; set; }
        public string Agent { get; set; }
        public string Server { get; set; }
        public bool Finished { get; set; }
        public DateTime FinishTime { get; set; }
    }
}
